package com.situ.mall.service.impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.situ.mall.dao.SysLogMapper;
import com.situ.mall.entity.SysLog;
import com.situ.mall.service.ISysLogService;

@Service
@Transactional
public class SysLogServiceImpl implements ISysLogService {

    @Autowired
    private SysLogMapper sysLogMapper;

    @Override
    public List<SysLog> findAll(){
        return sysLogMapper.findAll();
    }

    @Override
    public void save(SysLog sysLog){
    	sysLogMapper.save(sysLog);
    }
}
